<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta charset="utf-8">
  <title>Jasmine Spec Runner</title>

  <link rel="shortcut icon" type="image/png" href="lib/jasmine-1.3.1/jasmine_favicon.png">
  <link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
  <script type="text/javascript" src="lib/jasmine-1.3.1/jasmine.js"></script>
  <script type="text/javascript" src="lib/jasmine-1.3.1/jasmine-html.js"></script>
  <script type="text/javascript" src="lib/sinon-1.5.2/sinon-1.5.2.js"></script>
  <script type="text/javascript" src="lib/sinon-1.5.2/jasmine-sinon.js"></script>
  <script type="text/javascript" src="lib/sinon-1.5.2/sinon-timers-1.5.2.js"></script>
  <script type="text/javascript" src="lib/underscore/underscore.js"></script>
  <script type="text/javascript" src="lib/underscore/underscore.string.js"></script>

  <!-- include source files here... -->
  <script type="text/javascript" src="src/Utils.js"></script>
  <script type="text/javascript" src="src/Navigation.js"></script>
  <script type="text/javascript" src="src/Ajax.js"></script>
  <script type="text/javascript" src="src/ItemAjaxService.js"></script>


  <!-- include spec files here... -->
  <script type="text/javascript" src="spec/UtilsSpec.js"></script>
  <script type="text/javascript" src="spec/NavigationSpec.js"></script>

  <script type="text/javascript">
    (function() {
      var jasmineEnv = jasmine.getEnv();
      jasmineEnv.updateInterval = 1000;

      var htmlReporter = new jasmine.HtmlReporter();

      jasmineEnv.addReporter(htmlReporter);

      jasmineEnv.specFilter = function(spec) {
        return htmlReporter.specFilter(spec);
      };

      var currentWindowOnload = window.onload;

      window.onload = function() {
        if (currentWindowOnload) {
          currentWindowOnload();
        }
        execJasmine();
      };

      function execJasmine() {
        jasmineEnv.execute();
      }

    })();
  </script>
  <style>
    .someDiv{
      overflow: hidden;
      margin: 0;
    }
  </style>
</head>
<body>

  <!-- we need to put it here were DOM is created -->
  <!-- include source files here... -->
  <script type="text/javascript" src="src/ZDom.js"></script>

  <!-- include spec files here... -->
  <script type="text/javascript" src="spec/ZDomSpec.js"></script>
  <script type="text/javascript" src="spec/AjaxSpec.js"></script>
  <script type="text/javascript" src="spec/ItemAjaxServiceSpec.js"></script>
</body>
</html>
